//
//  SignatureModel.h
//  Bees
//
//  Created by NowYouCanSee on 2019/2/19.
//  Copyright © 2019 xiaohan. All rights reserved.
//

#import <Foundation/Foundation.h>
@class WhiteDappInfo;



NS_ASSUME_NONNULL_BEGIN

@interface SignatureModel : NSObject
@property (nonatomic,copy) NSString*account;
@property (nonatomic,copy) NSString*name;
@property (nonatomic,copy) NSArray* authorization;
@property (nonatomic,copy) NSString* data;
@property (nonatomic,copy) NSDictionary* jsonData;
///如果已经在白名单里
@property (nonatomic,strong)WhiteDappInfo*whiteDappInfo;
///json
@property (nonatomic,copy)NSArray*actions;

@property (nonatomic,assign) BOOL isWhite;

@property (nonatomic,copy) NSString*jsonStr;
@property (nonatomic,copy) NSString*permissions;

@end

@interface TransactionModel : NSObject
@property (nonatomic,copy) NSString*ref_block_num;
@property (nonatomic,copy) NSString*expiration;
@property (nonatomic,copy) NSString*ref_block_prefix;
@property (nonatomic,copy) NSString*net_usage_words;
@property (nonatomic,copy) NSString*delay_sec;
@property (nonatomic,copy) NSString*data;
@property (nonatomic,copy) NSArray*context_free_actions;
@property (nonatomic,strong) NSArray <SignatureModel*>* actions;
@end

NS_ASSUME_NONNULL_END
